package com.example.agricultural_big_data.mapper;

import com.example.agricultural_big_data.pojo.PlantAvg;
import com.example.agricultural_big_data.pojo.Plantation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xiao yang
 * @Description: 种植园地图
 * @date 2021/2/1414:57
 */
@Mapper
@Repository
public interface MapMapper {
     List<Plantation> getPlantations();
     List<PlantAvg> getPlant_avgsByid(String id); //根据种植园的id，查询作物的名称
}
